You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > MatrixInt Structure > MatrixInt Methods > MatrixInt.SumRows Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MatrixInt.SumRows Method

Calculates the sum of each of the calling matrix Rows.

Syntax
C#
Visual Basic
public void SumRows([In] TVecInt Dst);

Calculates the sum of each of the calling matrix Rows and stores the results in Dst vector. The Length and IntPrecision properties of the Dst vector are adjusted automatically.

var A: TMtxInt; V: TVecInt; begin CreateIt(A); CreateIt(V); A.Size(2,2, [1,2, 2,4]); A.SumRows(V); // V = [3,6] FreeIt(V); FreeIt(A); end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!